﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace PathNodeGraphicEditor
{
    public class Node
    {
        [XmlAttribute("id")]
        public uint id { get; set; }
        

        [XmlAttribute("x")]
        public uint x { get; set; }
        

        [XmlAttribute("y")]
        public uint y { get; set; }
        

        public Node(uint i_Id, uint i_X, uint i_Y)
        {

            id = i_Id;
            x = i_X;
            y = i_Y;
        }

        public Node()
        {
            id = 0;
            x = 0;
            y = 0;
        }
    }
}
